package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("coach")
public class Coach {
    @TableId(type = IdType.AUTO)
    private Long coachId;
    private String coachName;
    private String coachCar;
    private String coachSex;
    private String coachAge;
    private String coachIdentityId;
    private String coachPhone;
}
